<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Hello World!</title>
    <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
</head>
<body style="background: white;">
<h1>How2</h1>
We are using node <script>document.write(process.versions.node)</script>,
Chrome <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.


<!-- <script src="renderer.js"></script> -->
<script src="jquery-1.12.2.min.js"></script>
<script type="text/javascript">
  console.log($)
$(document).ready(function(){
            $.post( "http://10.88.130.93:5602/api/index/login",{"loginModel":2,"userCode":"000090875","password":"52c69e3a57331081823331c4e69d3f2e"},(res)=>{
              console.log(res)
            });
        });

    // console.log(document.querySelectorAll('h1'))
    // 创建一个通知
    let myNotification = new Notification('大家好', {
      body: '放假休息重要通知'
    })
    
    myNotification.onclick = () => {
      console.log('通知被点击后触发')
    }
</script>

</body>
</html>